package com.trkj.pojos;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;


/**
 * The persistent class for the HOSP_PATIENT_WAIT_DOCTOR database table.
 * 
 */
@Entity
@Table(name="HOSP_PATIENT_WAIT_DOCTOR")
@NamedQuery(name="HospPatientWaitDoctor.findAll", query="SELECT h FROM HospPatientWaitDoctor h")
public class HospPatientWaitDoctor implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name="WAIT_DOCTOR_ID")
	private String waitDoctorId;

	@Column(name="\"SEQUENCE\"")
	private BigDecimal sequence;

	//bi-directional many-to-one association to HospPatientRegistration
	@ManyToOne
	@JoinColumn(name="PATIENT_REGISTRATION_ID")
	private HospPatientRegistration hospPatientRegistration;

	public HospPatientWaitDoctor() {
	}

	public String getWaitDoctorId() {
		return this.waitDoctorId;
	}

	public void setWaitDoctorId(String waitDoctorId) {
		this.waitDoctorId = waitDoctorId;
	}

	public BigDecimal getSequence() {
		return this.sequence;
	}

	public void setSequence(BigDecimal sequence) {
		this.sequence = sequence;
	}

	public HospPatientRegistration getHospPatientRegistration() {
		return this.hospPatientRegistration;
	}

	public void setHospPatientRegistration(HospPatientRegistration hospPatientRegistration) {
		this.hospPatientRegistration = hospPatientRegistration;
	}

}